package com.hhu.wangzb.common.entity.filter;

import java.util.Map;

public class FormatFilter implements Filter {

    // 优先级，数字越大越优先执行
    private final int priority = 1;

    @Override
    public Map<String, Object> doFilter(Map<String, Object> entityMap, FilterEntity filterEntity) {

        Map<String, String> format = filterEntity.getFormat();

        if (format == null || format.size() == 0) return entityMap;


        return entityMap;
    }

    @Override
    public int getPriority() {
        return priority;
    }
}
